package com.exceeddata.vcloud.business.scheduling.job;

import java.util.Date;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class QuartzSchedulingJob extends QuartzJobBean{
	
	@Override
	protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
		// 获取任务信息
		String name = jobExecutionContext.getJobDetail().getKey().getName();
		System.out.println(Thread.currentThread().getId()+":----------------------------------------------:"+name+":"+new Date().getTime());
	}

}
